<template>
  <div id="app">
    <router-view />
  </div>
</template>
<script>
import { addroute1, addroute2 } from "@/router";
export default {
  mounted() {
    if (this.$store.state.user[0].admin_level == 1) {
      addroute1();
    } else {
      addroute2();
    }
  },
};
</script>
<style lang="scss"></style>
